package com.ff.kvm.mall.helper.impl;

import com.ff.kvm.common.dv.payment.PayOrderDV;
import com.ff.kvm.mall.helper.PayChannelHelper;
import org.springframework.stereotype.Component;

@Component
public class PayChannelHelperImpl implements PayChannelHelper {


    @Override
    public void createPrePayOrder(PayOrderDV payOrderDV) {


        switch (payOrderDV.getPayChannel()){
            case 0://余额支付
                gwjPay(payOrderDV);
            case 1://微信支付

            case 2://支付宝支付
            default:
        }

    }

    private void gwjPay(PayOrderDV payOrderDV) {


    }
}
